package com.example.carproviderbackstage.mapper.dl.admin;

import com.example.carinterface.utils.ResultJson;

import java.util.List;
import java.util.Map;

public interface CouponMapper {
    List<Map<String, Object>> find(Map<String,Object> map);

    int add(Map<String, Object> map);

    List<Map<String, Object>> findExchangeCode();

    int updateCoupon(Map<String, Object> map);

    int addExchangeCode(Map<String, Object> map);

    int updateExchangeCode(Map<String, Object> map);

    int delExchangeCode(Integer id);

    Map<String, Object> findExistedUserByTel(String tel);

    int updateStateCoupon(Map<String, Object> map);

    int delCoupon(Integer id);
}
